package EazyPrototype;

public class ConcretePrototype1 implements Prototype{
	private String name;
	
	public Prototype clone() {
		Prototype prototype = new ConcretePrototype1();
		prototype.setName(this.name);
		return prototype;
	}
	
	public String toString() {
		return "Now in prototype1, name = " + this.name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
